@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary: #e53935;
    --primary-dark: #b71c1c;
    --primary-light: #ff3d3d;
    --background-dark: #000;
    --background-medium: #111;
    --background-light: #1a1a1a;
    --text-light: #f5f5f7;
    --text-muted: #bbb;
    --font-base: 'Poppins', sans-serif;
    --font-heading: 'Oswald', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/img/background.png');
    background-size: cover;
    background-position: center;
    font-family: var(--font-base);
    color: var(--text-light);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 8%;
    background: var(--background-dark);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header img {
    width: 100px;
    height: auto;
    transition: transform 0.3s ease;
}

header img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    font-weight: 600;
    color: var(--text-light);
    padding-bottom: 4px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

nav a:hover {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
}

.products {
    padding: 2rem 8%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.product-images {
    position: relative;
    background-color: #f9f9f9;
}

.main-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    padding: 1rem;
}

.product-card h2 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    min-height: 3.2rem;
}

.product-colors {
    display: flex;
    gap: 0.5rem;
    padding: 0 1rem 1rem;
}

.color-option {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
}

.product-card p {
    padding: 0 1rem 1rem;
    color: #666;
    font-size: 0.9rem;
    min-height: 1.5rem;
}

.add-to-cart {
    width: calc(100% - 2rem);
    margin: 0 1rem 1rem;
    padding: 0.8rem;
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: auto;
}

.add-to-cart:hover {
    background-color: var(--primary-dark);
}

footer {
    background: var(--background-dark);
    color: var(--text-light);
    text-align: center;
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.footer-container p {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.social-links {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
    color: var(--primary);
    transform: scale(1.2);
}


@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .filter-options {
        flex-direction: column;
        gap: 1rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 2%;
    }
    
    nav ul {
        gap: 1.5rem;
        }    }